The _cccc_oooo_llll_llll_tttt_bbbb_llll command takes as input a specification file, _f_i_l_e, that
describes the collating sequence for a particular language and creates a
database that can be read by _ssss_tttt_rrrr_xxxx_ffff_rrrr_mmmm(3C) and _ssss_tttt_rrrr_cccc_oooo_llll_llll(3C). _ssss_tttt_rrrr_xxxx_ffff_rrrr_mmmm(3C)
transforms its first argument and places the result in its second
argument. The transformed string is such that it can be correctly
ordered with other transformed strings by using _ssss_tttt_rrrr_cccc_mmmm_pppp(3C), _ssss_tttt_rrrr_nnnn_cccc_mmmm_pppp(3C),
or _mmmm_eeee_mmmm_cccc_mmmm_pppp(3C). _ssss_tttt_rrrr_cccc_oooo_llll_llll(3C) transforms its arguments and does a
comparison.
If no input file is supplied, _s_t_d_i_n is read.
The output file produced contains the database with collating sequence
information in a form usable by system commands and routines. The name
of this output file is the value you assign to the keyword _cccc_oooo_dddd_eeee_ssss_eeee_tttt read
in from _f_i_l_e. Before this file can be used, it must be installed in the
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee/_l_o_c_a_l_e directory with the name _LLLL_CCCC______CCCC_OOOO_LLLL_LLLL_AAAA_TTTT_EEEE by someone who
is super-user or a member of group _bbbb_iiii_nnnn. _l_o_c_a_l_e corresponds to the
language area whose collation sequence is described in _f_i_l_e. This file
must be readable by user, group, and other; no other permissions should
be set. To use the collating sequence information in this file, set the
_LLLL_CCCC______CCCC_OOOO_LLLL_LLLL_AAAA_TTTT_EEEE environment variable appropriately [see _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5) or
A simpler use of the _ssss_uuuu_bbbb_ssss_tttt_iiii_tttt_uuuu_tttt_eeee statement would be to substitute a
single character with two characters, as with the substitution of _BBBB
with _ssss_ssss in German.
The _ssss_uuuu_bbbb_ssss_tttt_iiii_tttt_uuuu_tttt_eeee statement is optional. The _oooo_rrrr_dddd_eeee_rrrr _iiii_ssss and _cccc_oooo_dddd_eeee_ssss_eeee_tttt
statements must appear in the specification file.
Any lines in the specification file with a _#### in the first column are
treated as comments and are ignored. Empty lines are also ignored.
EEEEXXXXAAAAMMMMPPPPLLLLEEEE
The following example shows the collation specification required to
support a hypothetical telephone book sorting sequence.
The sorting sequence is defined by the following rules:
a.Upper- and lowercase letters must be sorted together, but uppercase
letters have precedence over lowercase letters.
b.All special characters and punctuation should be ignored.
c.Digits must be sorted as their alphabetic counterparts (for example, _0000
as _zzzz_eeee_rrrr_oooo, _1111 as _oooo_nnnn_eeee).
d.The _CCCC_hhhh, _cccc_hhhh, _CCCC_HHHH combinations must be collated between _CCCC and _DDDD.